package com.bensonbasement.snorflux.messages.fromserver.reports;

import java.io.Serializable;
import java.util.List;

import com.bensonbasement.snorflux.utils.Coords;
import com.bensonbasement.snorflux.utils.EmptyList;
import com.bensonbasement.snorflux.utils.SingleElementList;
import com.bensonbasement.snorflux.utils.SpaceReference;

/**
 * This is used both as a base class for all reports,
 * and as the most basic kind of report, a text-only one.
 * @author garrison
 *
 */
public class Report implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private final String text;
	private final SpaceReference spaceOfInterest;
	
	public Report(String text, SpaceReference spaceOfInterest) {
		this.text = text;
		this.spaceOfInterest = spaceOfInterest;
	}
	
	public Report(String text) {
		this(text,null);
	}

	public Report(SpaceReference spaceOfInterest) {
		this(null,spaceOfInterest);
	}
	
	public Report() {
		this(null,null);
	}
	
	public String getText() {
		return text;
	}
	
	public SpaceReference getSpaceOfInterest() {
		return spaceOfInterest;
	}
}
